package cn.wind.xboot.logic.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.Version;
import com.baomidou.mybatisplus.annotation.TableId;

import java.io.Serializable;
import java.util.Date;

import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 实名认证记录
 * </p>
 *
 * @author wind
 * @since 2018-12-21
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("t_auth")
public class Auth implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    /**
     * 用户id
     */
    private Long cliId;

    /**
     * 姓名
     */
    private String name;

    /**
     * 身份证号
     */
    private String idCard;

    /**
     * 银行名称
     */
    private String bank;

    /**
     * 银行卡号
     */
    private String bankCard;

    /**
     * 统一社会信用代码
     */
    private String licenceNo;

    /**
     * 身份证正面
     */
    private String idCardFront;

    /**
     * 身份证背面
     */
    private String idCardBack;

    /**
     * 银行卡正面
     */
    private String bankCardFront;

    /**
     * 银行卡背面
     */
    private String bankCardBack;

    /**
     * 营业执照
     */
    private String licenceImg;

    /**
     * 0待审核1审核通过2审核驳回
     */
    private Integer status;

    private Long createBy;

    private Date createTime;

    private Long updateBy;

    private Date updateTime;

    /**
     * 删除标记 0未删除1已删除
     */
    private Integer isDeleted;


}
